package javabean;

public class Goods {
    private Integer id;
    private String name;
    private Integer goods_num;

    public Goods() {
    }

    public Goods(Integer id, String name, Integer goods_num) {
        this.id = id;
        this.name = name;
        this.goods_num = goods_num;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return goods_num
     */
    public Integer getGoods_num() {
        return goods_num;
    }

    /**
     * 设置
     * @param goods_num
     */
    public void setGoods_num(Integer goods_num) {
        this.goods_num = goods_num;
    }

    public String toString() {
        return "Goods{id = " + id + ", name = " + name + ", goods_num = " + goods_num + "}";
    }
}
